package homework03;

/**
 * @Description: 抽象类套餐类
 * @author: shenbing.wang@hand-china
 * @date: 2021年06月09日 15:12
 */



public abstract class Code0203Abstract {
    private int expenses;
    private int quantity;
    /**
     *  expenses    资费
     *  quantity    数量
     */

    public Code0203Abstract() {
    }

    public Code0203Abstract(int expenses,int quantity) {
        setExpenses(expenses);
        setQuantity(quantity);
    }

    public int getExpenses() {
        return expenses;
    }

    public void setExpenses(int expenses) {
        this.expenses = expenses;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public abstract void show();
}

